<template>
	<view class="" style="background-color: #F8F8F8;">
		<top-heigth></top-heigth>

		<uv-navbar leftText="北京" :fixed="false" title="选择优惠券" :safeAreaInsetTop="false">
			<template v-slot:left>
				<view class="uv-nav-slot">
					<image src="/static/image/go.png" style="width: 40rpx; height: 40rpx;" mode=""></image>
				</view>
			</template>
		</uv-navbar>
			
		<view class="content-box">
			<view class="public-box m-b16 m-t24">
				<view class="coupon-box">
					<view class="coupon-top">
						<view class="coupon-l-box">
							<view class="coupon-l">
								 <view class="coupon-l-red">
								 	<span>¥</span>100
								 </view>
								<view class="coupon-l-black">满400可用</view>
							</view>
							<view class="coupon-c">
								<view><b>满减券满400-100</b></view>
								<view class="font-hui m-t16">2021.07.11-2023.11.2</view>
							</view>
						</view>
						<!-- <view class="coupon-but-red">立即领取</view> -->
					</view>
					<view class="coupon-bottom">
						<view class="font-hui">全场通用</view>
						<!-- <view class="font-hui">老用户可领</view> -->
					</view>
				</view>
				
				
			</view>
		</view>
	</view>
</template>

<script>
	import TopHeigth from '@/components/TopHeigth.vue'
	
	export default {
		data() {
			return {
				
				
			}
		},
		components: { TopHeigth },
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	@mixin flex($direction: row) {
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
		flex-direction: $direction;
	}
	.uv-nav-slot {
		@include flex;
		align-items: center;
		justify-content: space-between;
		border-width: 0.5px;
		border-radius: 100px;
		border-color: #dadbde;
		padding: 3px 7px;
		opacity: 0.8;
	}
	
	.coupon-box{
		height: 236rpx;
		border-radius: 20rpx;
		border: 3rpx solid #f9c9b4;
		background:#fff3f0 url("/static/image/coupon.png") right no-repeat;
		background-size: auto 236rpx;
		padding: 0 30rpx;
		margin-bottom: 20rpx;
	}
	.coupon-top{
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 30rpx 0;
	}
	.coupon-bottom{
		display: flex;
		align-items: center;
		justify-content: space-between;
		border-top: 2rpx dashed #D8D8D8;
	}
	.coupon-l{
		padding-right: 24rpx;
	}
	.coupon-c{
		padding-left: 24rpx;
		border-left: 2rpx solid #D8D8D8;
	}
	.coupon-l-red{
		font-size: 56rpx;
		color: #FF0202;
		font-weight: bold;
		span{
			font-size: 34rpx;
		}
	}
	.coupon-but-red{
		height: 56rpx;
		border-radius: 56rpx;
		padding: 0 20rpx;
		text-align: center;
		line-height:56rpx;
		color: #fff;
		font-size: 24rpx;
		background-color: #F51212;
	}
	.coupon-l-box{
		display: flex;
		align-items: center;
		justify-content: flex-start;
	}
	.coupon-l-black{
		font-size: 24rpx;
		color: #333;
	}
	.coupon-c{
		font-size: 30rpx;
		color: #333;
	}
	.coupon-bottom{
		padding: 20rpx 0;
	}
</style>
